package com.ruoyi.huanjing.entity.dto;

import java.util.List;

/**
     * 解析结果封装类
     */
    public  class OceanParamParseResult {
        private double significantWaveHeight;
        private double maxWaveHeight;
        private double avgWaveHeight;
        private double waveDirection;
        private double wavePeriod;
        private double currentSpeed;
        private double currentDirection;
        private double seaSurfaceTemp;
        private double seaStateLevel;
        private int dataLength;
        private List<Double> frequencyData;
        private List<Double> waveHeightSpectrumData;
        private List<Double> waveDirectionSpectrumData;

        public OceanParamParseResult(double significantWaveHeight, double maxWaveHeight, double avgWaveHeight,
                                     double waveDirection, double wavePeriod, double currentSpeed,
                                     double currentDirection, double seaSurfaceTemp, double seaStateLevel,
                                     int dataLength, List<Double> frequencyData,
                                     List<Double> waveHeightSpectrumData,
                                     List<Double> waveDirectionSpectrumData) {
            this.significantWaveHeight = significantWaveHeight;
            this.maxWaveHeight = maxWaveHeight;
            this.avgWaveHeight = avgWaveHeight;
            this.waveDirection = waveDirection;
            this.wavePeriod = wavePeriod;
            this.currentSpeed = currentSpeed;
            this.currentDirection = currentDirection;
            this.seaSurfaceTemp = seaSurfaceTemp;
            this.seaStateLevel = seaStateLevel;
            this.dataLength = dataLength;
            this.frequencyData = frequencyData;
            this.waveHeightSpectrumData = waveHeightSpectrumData;
            this.waveDirectionSpectrumData = waveDirectionSpectrumData;
        }

        // Getter方法
        public double getSignificantWaveHeight() { return significantWaveHeight; }
        public double getMaxWaveHeight() { return maxWaveHeight; }
        public double getAvgWaveHeight() { return avgWaveHeight; }
        public double getWaveDirection() { return waveDirection; }
        public double getWavePeriod() { return wavePeriod; }
        public double getCurrentSpeed() { return currentSpeed; }
        public double getCurrentDirection() { return currentDirection; }
        public double getSeaSurfaceTemp() { return seaSurfaceTemp; }
        public double getSeaStateLevel() { return seaStateLevel; }
        public int getDataLength() { return dataLength; }
        public List<Double> getFrequencyData() { return frequencyData; }
        public List<Double> getWaveHeightSpectrumData() { return waveHeightSpectrumData; }
        public List<Double> getWaveDirectionSpectrumData() { return waveDirectionSpectrumData; }
    }